﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Wicresoft.IDE.Components.Controls
{
    public class RichForm : Form
    {
        public RichForm()
        {
          
        }

        protected Font CreateGBFont()
        {
            if (Environment.OSVersion.Version.Major == 6)
                // vista or win7
                return new Font("Microsoft YaHei", 9);
            else
                // xp or win2003
                return new Font("SimSun", 9);
        }
    }
}
